import 'dart:convert';

import '../generated/json/base/json_field.dart';
import '../generated/json/setting_entity.g.dart';


@JsonSerializable()
class SettingEntity {

  @JSONField(name: "device_no")
  String? deviceNo;
  String? hfSerial;
  String? offTime;
  String? onTime;
  String? region;
  String? url;
  int? screen;
  int? mode = 0;
  int? count = 4;
  double? adVolume;
  double? tipVolume;
  bool? log;

  SettingEntity();

  factory SettingEntity.fromJson(Map<String, dynamic> json) => $SettingEntityFromJson(json);

  Map<String, dynamic> toJson() => $SettingEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}

